<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"   
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
	  xmlns:p="http://primefaces.org/ui">

<f:view contentType="text/html">

 	<!-- This methods defined in head HTML tag -->
    <h:head>    
    	<title><h:outputText value="#{recursosDeMensaje.titulo}"/></title>
    	<meta content='text/html; charset=UTF-8' http-equiv="Content-Type"/>
    	
    	<h:outputStylesheet name="cabecera.css" library="css" />
    	<h:outputStylesheet name="comun.css" library="css" />
    	    	
		<ui:insert name="head"/>
		    			
    </h:head>
 
 	<!-- BODY tag with a function to initialize the listener for the system. -->
    <h:body>
   		<h:panelGroup id="PaginaCompleta">   			 			
   			
   			<h:form id="FormularioMensaje" prependId="false" styleClass="Growl" style="font-size: 12px;"> 								
   				<p:growl id="growl" globalOnly="true" showDetail="true"/>
   			</h:form>   
	   		
		    <div id="DivTop">
				<div id="DivTopGeneral">
					<table width="100%" border="0" cellspacing="0">
						<tr>
							<td width="20%" valign="bottom" style="padding-bottom: 15px;"><p:graphicImage value="resources/imagenes/comun/logo.png" width="267"/></td>
							<td width="30%" valign="bottom" style="padding-bottom: 15px;">
								<b>Fecha y Hora del Servidor: </b> <p:clock pattern="HH:mm:ss dd/MM/yyyy" />
<!-- 								<h:form id="FormularioTimer"> -->
<!-- 									<h:outputText id="horaServidor" value="#{controladorInicio.horaServidor}" />   -->
<!--       								<p:poll interval="1" update="horaServidor"/> -->
<!--       							</h:form>  -->
							</td>
							<td width="50%" align="right" valign="bottom" style="padding-bottom: 15px;">
								<span style="font-size: 20px;">#{objetoUsuario.nombres} #{objetoUsuario.ape_pat} #{objetoUsuario.ape_mat}</span>
								(#{objetoUsuario.id_usuario}) /Nombre Perfil
								<p:graphicImage value="resources/imagenes/comun/logoMED.png" width="294"/>
							</td>					
						</tr>
					</table>
				</div>		
			</div>
			
		    <!-- Main header -->
			<ui:insert name="cabecera" >
				<ui:include src="/fragmentos/cabecera.xhtml" />
			</ui:insert>						
		    
		    <!-- Main body -->
		 	<div id="DivBodyBackground" align="center"  style="background-color:#EEE">
		 		<ui:insert name="contenido"/>			 				 			 
			</div>
			
			<!-- Main footer. 
			<div id="DivFooter">
				<ui:insert name="footer" >
					<ui:include src="/fragments/footer.xhtml" />
				</ui:insert>
		    </div>
		    -->

 		</h:panelGroup>
    </h:body>
</f:view>
</html>